package com.jiankang.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jiankang.dao.UsercommentDao;
import com.jiankang.entity.Usercomment;
import com.jiankang.service.UsercommentService;
import com.jiankang.util.Page;
@Service("usercommentService")
public class UsercommentServiceImpl implements UsercommentService {
	@Resource
	private UsercommentDao usercommentDao;
	@Override
	public List<Usercomment> listcomment() {
		// TODO Auto-generated method stub
		return usercommentDao.listcomment();
	}
	@Override
	public long getAllProductCount() {
		// TODO Auto-generated method stub
		return usercommentDao.getAllProductCount();
	}
	@Override
	public List<Usercomment> getHealthFile(Page page) {
		// TODO Auto-generated method stub
		return usercommentDao.getHealthFile(page);
	}

}
